package com.vhall.component.dao.rbac;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vhall.component.entity.rbac.GroupAccessEntity;
import com.vhall.component.entity.rbac.vo.GroupInfoRspVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author dalong
 * @date 2021-05-10 20:13
 */
@Mapper
@Repository
public interface RbacGroupAccessMapper extends BaseMapper<GroupAccessEntity> {

    /**
     * 获取权限列表
     *
     * @param appId
     * @param groupId
     * @param status
     * @return
     */
    List<GroupInfoRspVO> getListWithAccess(String appId, Integer groupId, Integer status);
}
